import 'package:flutter/material.dart';
import 'package:jm_flutter/jm_flutter.dart';
import 'ui/routers/routes.dart';

void main() async {
  JmConfig.appName = "JmFlutterDemo";
  JmConfig.statusBarType = StatusBarType.black;
  JmConfig.colors.main = const Color(0xFF0A84FF);
  JmConfig.colors.bg = const Color(0xFFFFFFFF);
  JmConfig.colors.appBarBg = const Color(0xFFf7f9ff);

  JmConfig.i18nEnable = false;
  JmConfig.initPage = Pages.init;
  JmConfig.pages = Pages.pages;
  JmConfig.sentryDsn =
      'http://3adc45bb865c78a2edd3d783b3930d5f@43.154.143.154:9000/2';

  JmFlutter.run();
}
